<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="include :: header('附件详细信息')"/>
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-sysAttachment-detail" th:object="${sysAttachment}">
        <div class="form-group">
            <label class="col-sm-3 control-label">主表id：</label>
            <div class="form-control-static" th:text="*{mainId}"/>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">实体类名：</label>
            <div class="form-control-static" th:text="*{entityName}"/>
        </div>
        <!--<div class="form-group">
            <label class="col-sm-3 control-label">附件id：</label>
            <div class="form-control-static" th:text="*{attachmentId}"/>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">附件版本号：</label>
            <div class="form-control-static" th:text="*{attachmentRev}"/>
        </div>-->
        <div class="form-group">
            <label class="col-sm-3 control-label">附件名称：</label>
            <div class="form-control-static" th:text="*{attachmentName}"/>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">附件类型：</label>
            <div class="form-control-static" th:text="*{attachmentType}"/>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">附件大小：</label>
            <div class="form-control-static" th:text="${@util.calculateFileSize(sysAttachment.attachmentSize)}"/>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">附件路径：</label>
            <div class="form-control-static" th:text="*{attachmentPath}"/>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">上传日期：</label>
            <div class="form-control-static"
                 th:text="${#dates.format(sysAttachment.uploadDate, 'yyyy-MM-dd HH:mm:ss')}"/>
        </div>
        <!--<div class="form-group">
            <label class="col-sm-3 control-label">下载状态(0未下载过,1已下载过)：</label>
            <div class="form-control-static" th:text="*{downloadStatus}"/>
        </div>-->
        <div class="form-group">
            <label class="col-sm-3 control-label">上传人：</label>
            <div class="form-control-static" th:text="*{createByName}"/>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">备注：</label>
            <div class="form-control-static" th:text="*{remark}"/>
        </div>
    </form>
</div>
<div th:include="include::footer"></div>
</body>
</html>
